//
//  DeviceConfig.h
//  KEREN
//
//  Created by chenliang on 2023/8/22.
//

#import <Foundation/Foundation.h>
#import "BGFMDB.h"
NS_ASSUME_NONNULL_BEGIN

@interface DeviceConfig : NSObject
//启动关闭
@property(nonatomic,assign)int start_off;  // 1 支持 0不支持
//弹出座垫
@property(nonatomic,assign)int cushion;
//一键寻车
@property(nonatomic,assign)int find_bike;
//低电量报警
@property(nonatomic,assign)int lowerpower;
//电子围栏
@property(nonatomic,assign)int electric_fence;
//蓝牙靠近解锁
@property(nonatomic,assign)int bluetooth_unlock;
//故障反馈
@property(nonatomic,assign)int fault_feedback;
//安全警报
@property(nonatomic,assign)int security_alert;
//乘坐感应
@property(nonatomic,assign)int sit_induction;
//骑行统计
@property(nonatomic,assign)int ride_statistics;
//轨迹列表
@property(nonatomic,assign)int track_list;
//车辆位置
@property(nonatomic,assign)int bike_location;
//IMEI号
@property(nonatomic,assign)int imei;
//OTA升级
@property(nonatomic,assign)int ota_upgrade;
//一键锁车
@property(nonatomic,assign)int bike_lock;
//车辆GPS
@property(nonatomic,assign)int gps;
//4G连接
@property(nonatomic,assign)int fourg;
//失窃上报
@property(nonatomic,assign)int report_theft;
//消息通知
@property(nonatomic,assign)int notice;
//异常震动
@property(nonatomic,assign)int abnormal;
//切断电源
@property(nonatomic,assign)int cut_power;
//充电监测
@property(nonatomic,assign)int charging_monitoring;
//防盗报警
@property(nonatomic,assign)int anti_theft_alarm;
//故障消息
@property(nonatomic,assign)int fault_message;

+(DeviceConfig *)parseFromJsonString:(NSString *)jsonString;

@end


@interface DeviceConfigData : NSObject

@property(nonatomic,assign)NSInteger device_type_id;

@property(nonatomic,copy)NSString *func_config;

@property(nonatomic,assign)long long timeStamp;

@end

NS_ASSUME_NONNULL_END
